package com.yhb.channel;

public class ChannelConstant {
    public static final Long ERROR_JSON_WRONG = -99999999L;

    public static final int ONE_QUARTER_HOUR = 15 * 60 * 1000; // 15分钟
    public static final int TREE_MINUTES = 3 * 50 * 1000; // 通道短信有效时长一般是 3分钟
    public static final int ONE_DAY = 24 * 3600 * 1000; // 一天
    public static final int TEN_SECONDS = 10 * 1000; // 10秒
    public static final int GENDER_SIGN_INDEX_FOR_ID_CARD_NUM = 17; // 身份证第17位可以推算出性别
    public static final String SUCCESS = "SUCCESS";
    public static final String ERROR = "ERROR";
    public static final String CNY = "CNY";

    public static final int POLLING_TIME_INTERVAL_FOR_REMIT_AND_PAY = 1000; // 轮询时间间隔
    public static final int MAX_POLLING_TIMES_FOR_REMIT_AND_PAY
            = TEN_SECONDS / POLLING_TIME_INTERVAL_FOR_REMIT_AND_PAY; // 最多轮询10秒

    public static final long EMPTY_CHANNEL_LIST = -9_01000L;
    public static final long INNER_WRONG = -9_02000L;

    public static final long PAY_ERROR = -9_03000L;

    public static final long REMIT_ERROR = -9_04000L;

    public static final long NO_NEED_CARD_MSG = -9_05000L;
}
